Hoare's Partition Demo
Size:
Random Array
Create Array
Previous
Next
Play
Speed:
1×
2×
4×
Legend:
Pivot
Left Partition (≤ pivot)
Right Partition (> pivot)
Being Swapped
Unpartitioned